﻿Public Class clsGlobals

    Public Shared eOperation As OperationStatus

    Public Enum OperationStatus
        Annahme
        Zentrale
        Verladung
        Zusteller
    End Enum

    ''' <summary>
    ''' zeigt das neue Formulr an
    ''' </summary>
    ''' <remarks></remarks>
    Public Shared Sub ShowForm(ByVal MyForm As Form, ByVal MyNewForm As Form)

        Try
            MyForm.Enabled = False
            MyNewForm.Show()
            MyForm.Hide()
        Catch
        Finally
            MyForm.Enabled = True
        End Try


    End Sub

End Class

''' <summary>
''' Klasse die alle Daten zu den gescannten Inhalten hält
''' </summary>
''' <remarks></remarks>
Public Class clsData

    ''' <summary>
    ''' gescannter Mitarbeiterausweus
    ''' </summary>
    ''' <remarks></remarks>
    Public Shared Mitarbeiter As PaketTrackerService.Mitarbeiter
    Public Shared Adresse As PaketTrackerService.Adresse
    Public Shared gdStation As System.Guid
    Public Shared gdFahrzeug As System.Guid
    Public Shared szPaketIdent As String = ""
    Public Shared szBeschreibung As String = ""

    Public Shared szFormTitel As String = ""

End Class
